Credential Types

Table Name: GXT_CREDENTIALTYPES_TBL

List

Request a list of credential types.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=List&SubType=GXT_CREDENTIALTYPES_TBL
  • Response:

    Copy
    1=Credential Type 1&2=Credential Type 2

Detail

Request the details of a specific credential type.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=Detail&SubType=GXT_CREDENTIALTYPES_TBL&RecId=<RecId>
  • Response:

    Copy
    CredentialTypeId=1&Name=Credential Type 1&Format=2&PrecedingCharacters=0&TrailingCharacters=0&Prefix=&CaseSensitive=false

Update

Update a specific credential type.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_CREDENTIALTYPES_TBL&CredentialTypeId=1&Name=Wiegand 66bit
  • Response:

    Copy
    OK

Create

Create a credential type. To create a credential type, use the same parameters as update but leave the CredentialTypeId empty.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_CREDENTIALTYPES_TBL&CredentialTypeId=&Name=Credential Type 1&Format=2&PrecedingCharacters=0&TrailingCharacters=0&Prefix=&CaseSensitive=false
  • Response:

    Copy
    OK

Delete

Delete a specific credential type.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Delete&SubType=GXT_CREDENTIALTYPES_TBL&RecId=<RecId>
  • Response:

    Copy
    OK

Parameters

Parameter

Display Name

Default Value

Notes

CredentialTypeId

Database ID

1

The Detail, Control and Delete APIs use this value as the RecId.

Name

Name

Credential Type 1

 

Format

Format

2

The format of the data sent to the controller by the third-party device. Supported formats include:

Value

Description

0

Unicode

1

UTF8

2

ASCII

3

Numeric

4

Hexadecimal

5

Wiegand

PrecedingCharacters

Preceding Characters

0

 

TrailingCharacters

Trailing Characters

0

 

Prefix

Prefix

 

 

CaseSensitive

Case Sensitive

false

 

UserIdCredential

Not displayed

0

This parameter is reserved for site security enhancements and should always be set to zero. For Protege WX builds 4.00.712 and later it can be omitted altogether.

TLVFormat

Wiegand or TLV Format